package com.cuotigou.pojo;

import java.util.Date;

/**
 * 标签表
 * 
 * @author wcyong
 * 
 * @date 2018-12-19
 */
public class SLabel {
    private Long id;

    /**
     * 1 科目  2 错题类型 3 错题原因 4 错题知识点 5 错题来源 6 掌握程度   7 知识课堂 8 打印次数
     */
    private Integer type;

    /**
     * 科目id 0即没有对应的科目
     */
    private Integer subjectId;

    /**
     * 年级id
     */
    private Integer gradeId;

    /**
     * 用户id 0代表公共标签
     */
    private Integer userId;

    /**
     * 标签名称
     */
    private String title;

    /**
     * 1 删除
     */
    private Integer isDelete;

    private Date addTime;

    private Date modifyTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public void setSubjectId(Integer subjectId) {
        this.subjectId = subjectId;
    }

    public Integer getSubjectId() {
        return subjectId;
    }

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
}